
//
//  UserAboutViewController.m
//  project
//
//  Created by 张振宇 on 15/11/5.
//  Copyright © 2015年 lanou. All rights reserved.
//

#import "UserAboutViewController.h"

@interface UserAboutViewController ()

@end

@implementation UserAboutViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    self.navigationController.navigationBar.hidden = NO;
    UILabel *label = [[UILabel alloc]init];
    label.frame = CGRectMake(kWidth / 2 - 20, 30, 40, 20);
    label.text = @"关于";
    label.textColor = [UIColor whiteColor];
    self.navigationItem.titleView = label;
    self.navigationItem.title = @"关于";
    self.navigationController.navigationBar.tintColor = [UIColor whiteColor];
    self.view.backgroundColor = [[UIColor alloc]initWithRed:245/255.0 green:245/255.0 blue:245/255.0 alpha:1];
    UIImageView *img = [[UIImageView alloc]initWithFrame:CGRectMake(kWidth/2 - 100, kHeight/2 - 100, 200, 200)];
    img.image = [UIImage imageNamed:@"iconbig"];
    [self.view addSubview:img];
    
    UILabel *txtLabel = [[UILabel alloc]initWithFrame:CGRectMake(kWidth/2 -80, kHeight/2 + 100, 160, 30)];
    txtLabel.text = @"  良品当前版本V1.0";
    [txtLabel setTextColor:[UIColor colorWithRed:0.997 green:0.000 blue:1.000 alpha:1.000]];
    [self.view addSubview:txtLabel];
    
    
    // Do any additional setup after loading the view.
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
